/* @import './base.css'; */

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

.myhead {
  background-color: #0b87ff;
  text-align: center;
  padding: 5px 0px 10px 0px;
  color: aliceblue;
}

.myhead .box {
  margin-top: 10px;
  display: flex;
  gap: 5px;
  justify-content: center;
}

.thing {
  width: 300px;
  height: 30px;
  padding: 0 10px;
  border-radius: 3px;
  outline: none;
  border: solid 1px white;
}

.add {
  display: inline-block;
  width: 80px;
  height: 30px;
  background-color: #eee;
  color: #0b87ff;
  line-height: 30px;
  border: none;
  border-radius: 3px;
}

.add:hover {
  cursor: pointer;
  background-color: #fff;
  color: #ff6700;
}

ul li {
  list-style: none;
  position: relative;
  padding-left: 20px;
  height: 40px;
  line-height: 40px;
}

/* 将所有奇数列表项设置为不同的颜色（斑马线）*/
ul li:nth-child(odd) {
  background-color: #f9f9f9;
}

/* 光标移入的时候背景变暗 */
ul li:hover {
  cursor: pointer;
  background-color: #dddddd;
}

/* 单击时，添加背景色并删除文本 */
ul li.checked {
  background-color: #888888;
  text-decoration: line-through;
  color: #f9f9f9;
}

/* 单击时添加“已选中”标记 */
ul li.checked::before {
  content: '';
  position: absolute;
  border-color: #fff;
  border-style: solid;
  border-width: 0 2px 2px 0;
  top: 10px;
  left: 16px;

  transform: rotate(45deg);
  height: 15px;
  width: 7px;
}

/* 设置关闭按钮的样式 */
.close {
  position: absolute;
  top: 0px;
  right: 0px;
  padding: 0px 20px;
  font-size: 16px;
}

.close:hover {
  background-color: #f44336;
  color: white;
}
.text{
  width: 70%;
  height: 100%;
}

